package org.prem.thread;

public class TestMultipleThreads {

	public static void main(String[] args){
		RunnableThread rt = new RunnableThread();
		Thread t1 = new Thread(rt);
		Thread t2 = new Thread(rt);
		Thread t3 = new Thread(rt);
		Thread t4 = new Thread(rt);
		Thread t5 = new Thread(rt);
		
		t1.setName("Th1");
		t2.setName("Th2");
		t3.setName("Th3");
		t4.setName("Th4");
		t5.setName("Th5");
		t1.start();
		t2.start();
		t3.start();
		t4.start();
		t5.start();
	}
}